package com.cabinet.service;

import java.util.List;

import com.cabinet.web.entity.Diauthority;

public interface IDiauthorityService {
	
	public Diauthority getDauthorityById(Long id);
	
	public Diauthority getDauthorityBySellerIdAndUserId(Long sellerid,Long userid);
	
	public List<Diauthority> getDauthorityListBySellerId(Long sellerid);
	
	public void addDiauthority(Diauthority d);
	
	public void deleteDiauthority(Diauthority d);
	
	
	

}
